package com.itheima.service;

import com.itheima.entity.Result;
import com.itheima.pojo.Permission;
import com.itheima.pojo.User;

public interface UserService {
    public User findByUsername(String username);
    //    权限的管理
    Result findAllPermission();

    Result delPermissionById(Integer id);

    Result addPermission(Permission permission);
}
